package com.pd.dao.model;

import java.util.Date;

/**
 * Created by dong peng on 2018/1/24.
 */
public class ResourceDo {

    private Integer id;

    /**
     * 资源名称
     */
    private String resourceName;

    /**
     * 资源url
     */
    private String resourceUrl;

    private Date createTime;

    private Date updateTime;

    /**
     * 父级id
     */
    private Integer parentId;

    /**
     * 角色是否拥有此资源 1 拥有 0 不拥有
     */
    private int hasIt;

    public String getResourceName() {
        return resourceName;
    }

    public void setResourceName(String resourceName) {
        this.resourceName = resourceName;
    }

    public String getResourceUrl() {
        return resourceUrl;
    }

    public void setResourceUrl(String resourceUrl) {
        this.resourceUrl = resourceUrl;
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public int getHasIt() {
        return hasIt;
    }

    public void setHasIt(int hasIt) {
        this.hasIt = hasIt;
    }
}
